//  用户个人中心API
import  request from "../utils/request.js"

// 获取用户信息
export const getUserInfoByAccount = (params = {}) => {
    return request.get('/PersonalCenter/getUserInfoByAccount',{ params })
}

//  修改密码
export const updatePassword = (params = {}) => {
    return request.post('/PersonalCenter/updatePassword', params)
}